package cn.ywang.spring.utils;

/**
 * @author BeatificWang
 * @date 2019/4/22 22:28
 */
public class StringUtils {

	public static String lowerFirstCase(String string) {
		if (StringUtils.isBlank(string)) {
			return "";
		}
		char[] chars = string.toCharArray();
		chars[0] += 32;
		return String.valueOf(chars);
	}

	public static boolean isBlank(String string) {
		if (string == null || string.trim().length() == 0) {
			return true;
		}
		return false;
	}
}
